package templatemethod.example;

/**
 * @author Chen Guang
 * @date 2019/4/8 0008 下午 17:31
 */
public abstract class AbstractTestPaper {

    /**
     * 抽象方法 由子类实现
     */
    public abstract void answer1();
    public abstract void answer2();
    public abstract void answer3();

    public void testQuestion1(){
        System.out.println("杨过、程英、陆无双铲除了情花。造成[] " +
                "a.使这种植物不在害人 " +
                "b.使一种珍稀物种灭绝 " +
                "c.破坏了那个生物圈的生态平衡 " +
                "d.造成该地区沙漠化");
        answer1();
    }

    public void testQuestion2(){
        System.out.println("杨过得到，后来给了郭靖，炼成倚天剑、屠龙刀的玄铁可能是[] " +
                "a.球磨铸铁 " +
                "b.马口铁 " +
                "c.高速合金钢 " +
                "d.碳素纤维");
        answer2();
    }
    public void testQuestion3(){
        System.out.println("蓝凤凰致使华山师徒、桃谷六仙呕吐不止，如果你是大夫，会给他们开什么药[] " +
                "a.阿司匹林 " +
                "b.牛黄解毒片 " +
                "c.氟哌酸 " +
                "d.让他们喝大量的生牛奶 " +
                "e.以上全不对");
        answer3();
    }

}
